package cn.edu.neusoft.maxingxin231.yuejian06.Class;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class Fragment1 extends Fragment {
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){
        TextView textView=new TextView(getActivity());
        textView.setText("fragment1");
        return textView;
    }
}
